.card {
    width: 40%; 
    /* height: 20rem;  */
    margin: auto
}